<template>
	<view>
		<web-view :src="url"></web-view>
	</view>
</template>

<script setup>
import { ref } from 'vue'

const url = ref('')

onLoad((options) => {
	if (options.url) {
		url.value = decodeURIComponent(options.url)
	}
})
</script>